<?php
	class Tags extends MY_Controller{
		public function __construct(){
			parent::__construct();			
			$this->load->model("model_tags");
		}
		public function index(){
			redirect(base_url());
			$key = $this->fillter($this->uri->segment(2));
			$data['support'] 	= $this->support();
		    $data['access'] 		= $this->access();
		    $data['online'] 		= $this->online();
		    $data['config'] 		= $this->config();
		    $data['customer'] 	= $this->customer();
		    $data['eq'] 			= "4";
		    $data['topeq'] 			= "10";
		    $data['category'] = $this->model_technology->listcago();
		    $data['link']       = base_url().uri_string().".html";
		    $data['listkey'] = $this->model_tags->search($key);
		}
	}